package com.student_system.students.mapper;

import com.student_system.students.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ljy
 * @since 2025-05-14
 */
public interface TeacherMapper extends BaseMapper<Teacher> {
    List<Teacher> findAll();
    Teacher findByTeacherNo(Integer teacherNo);
    int insert(Teacher teacher);
    void update(Teacher teacher);
    void deleteByTeacherNo(Integer teacherNo);
}
